package com.guigu.xiaowenbo.mapper;

import com.guigu.xiaowenbo.pojo.Spaydetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SpaydetailsMapper {
        int insertres(Spaydetails spaydetails);
        List<Spaydetails> selectrws(Integer parentid);
        List<Spaydetails> selectrwddd(Integer parentid);
        Spaydetails selectrwdp(@Param("parentid") Integer parentid, @Param("productid") String productid);
        int updaterwds(@Param("parentid") Integer parentid, @Param("productid") String productid);
        List<Spaydetails> selectrwdrs(Integer parentid);
        int updaterwdrses(@Param("parentid") Integer parentid, @Param("productid") String productid, @Param("paidamounts") Integer paidamounts);
        int updaterwdrs(@Param("parentid") Integer parentid, @Param("productid") String productid, @Param("paidamount") Integer paidamount);
        int insert_WZY(Spaydetails spaydetails);
}